﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class jsPlugDemo_uploadify_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void btnOK_Click(object sender, EventArgs e)
    {
        string foldPath = string.Format("/upload/music/");

        HttpFileCollection hfc = Request.Files;

        for (int i = 0; i < hfc.Count; i++)
        {
            HttpPostedFile hpf = hfc[i];
            Response.Write(TQBFiles.UploadFile(hpf, foldPath, true));
        }

    }



}